﻿using HuaweiCloud.Dotnet.Samples.Common;
using MongoDB.Driver;

namespace HuaweiCloud.Dotnet.Samples.ESports.Device.Repository
{
    public class DefaultMongoDbContext : IMongoDbContext
    {
        public IMongoClient Client { get ; set; }
        public IMongoDatabase Database { get; set ; }
        public DefaultMongoDbContext(IMongoClient client, IMongoDatabase database)
        {
            Client = client;
            Database = database;
        }
    }
}
